﻿<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>GSM-后台系统</title>
<link href="../css/authority/login_css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery/jquery-1.7.1.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$("#login_sub").click(function(){
			$("#submitForm").attr("action", "/user/login.do").submit();
		});
        //点击图片更换验证码
        $("#seimage").click(function (){
            $(this).attr("src","securityCodeAction/excute.do?timestamp="+new Date().getTime());
        });
	});
	
	/*回车事件*/
	function EnterPress(e){ //传入 event 
		var e = e || window.event; 
		if(e.keyCode == 13){ 
			$("#submitForm").attr("action", "/user/login.do").submit();
		} 
	}
</script>
</head>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<body>
	<div id="login_center">
		<div id="login_area">
			<div id="login_box" style="background: url('../images/login/login.png') 0px 0px no-repeat;">
				<div id="login_form">
					<form id="submitForm" action="" method="post">
						<div id="login_tip">
							<span id="login_err" class="sty_txt2"></span>
						</div>
						<div>
                            学&nbsp;&nbsp;&nbsp;&nbsp;号：<input type="text" name="stuNumber" placeholder="请输入学号" class="username" id="name">
						</div>
						<div>
							密&nbsp;&nbsp;&nbsp;&nbsp;码：<input type="password" placeholder="请输入密码" name="password" class="pwd" id="pwd" >
						</div>
                        <div>
                            验证码：<input class="username" type="text" name="securityCode" placeholder="输入验证码" onkeypress="EnterPress(event)" onkeydown="EnterPress()"/>
                            <img class="floatLeft" src="/securityCodeAction/excute.do" id = "seimage"   alt="看不清，换一张"/>
                            </div>
                        <input type="hidden" name="isBS" value="isBS">
                        <div id="btn_area">
							<input type="button" class="login_btn" id="login_sub"  value="登  录">
							<input type="reset" class="login_btn" id="login_ret" value="重 置">
						</div>
					</form>
                    <div style="font-size: 14px;color: red !important;">${message}</div>
				</div>
			</div>
		</div>
	</div>
<div style="display:none"><script src='http://v7.cnzz.com/stat.php?id=155540&web_id=155540' language='JavaScript' charset='gb2312'></script></div>
</body>
</html>